package example.threads;

/**
 * 
 * @author Globex Inc.
 *
 */
public class Parent {
	
	public static void main(String[] args) {
		
		Child hilo = new Child("Wall\u2219E");
		hilo.start();
		
		System.out.println("Parent: I'm going to sleep");
		try {
			Thread.sleep(5000);
		} catch (Exception e) {
			// TODO: handle exception
		}
		System.out.println("Parent: I'm back!");
		
		//hilo.on = false;
		hilo.tunrOff();
	}
}
